<?php
	$name = $_FILES['filename']['name'];
	$type = $_FILES['filename']['type'];
	$tmp_name = $_FILES['filename']['tmp_name'];
	$error = $_FILES['filename']['error'];
	$size = $_FILES['filename']["size"];
	copy($tmp_name,'./img/img.jpg');

	//move_uploaded_file($tmp_name,'./img/'.$name);
?>